﻿@inherits System.Web.Mvc.WebViewPage
@using ZoomLa.BLL
@using ZoomLa.Model
@{ 
    M_UserInfo mu = new B_User().GetLogin();
}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <script src="/JS/jquery.min.js"></script>
    <script src="/dist/js/bootstrap.min.js" type="text/javascript"></script>
    <link href="/dist/css/bootstrap.min.css" rel="stylesheet" />
    <link type="text/css" rel="stylesheet" href="/App_Themes/V3.css" />
    @RenderSection("head")
</head>
<body>
    <div id="n_site_top" class="n_site_top">
        <div id="n_site_top_l" class="n_site_topl"><a href="/Site/Default">智能建站平台</a></div>
        <div style="margin-top:10px;margin-right:10px;float:right;" id="headRDiv">
            @if (mu != null && mu.UserID > 0)
            {
                <span id="UserInfoSpan">
                    <span>@mu.UserName</span>
                    <a href="/User/Default" title="会员中心">会员中心</a>
                    <a href="/Plugins/Domain/Domname.aspx?Page=7" title="订单管理">订单管理</a>
                    <a href="/Plugins/Domain/Domname.aspx?Page=3" title="IDC管理">IDC管理</a>
                    <a href="/User/Logout" title="安全退出">安全退出</a>
                </span>
            }
            else
            {
                <span id="loginSpan">
                    <a href="/User/Login?ReturnUrl=@Request.RawUrl" style="margin-right:10px;">会员登录</a><a href="/User/Register" style="margin-right:10px;">会员注册</a>
                </span>
            }
        </div>
    </div>
    <div>
        <div id="n_site_naver">
            <div id="site_nav" class="n_site_nav">
                <nav class="navbar navbar-default">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">Brand</a>
                    </div>
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li class="site1"><a href="/Site/Domain">域名注册</a></li>
                            <li class="site2"><a href="/Site/Default">极速建站</a></li>
                            <li class="site3"><a href="/Plugins/Domain/DomName.aspx">主机购买</a></li>
                            <li class="site4"><a href="/Plugins/Domain/DomName.aspx">云端存储</a></li>
                            <li class="site5"><a href="/Plugins/Domain/DomName.aspx">智能模板</a></li>
                        </ul>
                    </div>
                </nav>
            </div>
        </div>
        @RenderSection("content")
    </div>
    <div style="clear:both;"></div>
    <div id="n_site_bottom" class="navbar-fixed-bottom">
        <div id="site_bot">
            <div id="site_bot_l">
                <ul class="list-inline">
                    <li><a href="http://www.z01.com/help" target="_blank">新手指南</a></li>
                    <li><a href="http://www.z01.com/mtv" target="_blank">学习资源</a></li>
                    <li><a href="http://ad.z01.com" target="_blank">广告代码</a></li>
                    <li><a href="http://help.z01.com/data/">数据字典</a></li>
                    <li><a href="http://www.z01.com/templet/" target="_blank">模板中心</a></li>
                    <li><a href="http://help.z01.com/" target="_blank">帮助文档</a></li>
                    <li><a href="http://bbs.z01.com" target="_blank">开发社区</a></li>
                    <li>Copyright &copy;@Call.SiteName All Rights Reserved</li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</body>
</html>